﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace GKQC.Common
{
    public partial class FormMutilMsgBox: Form
    {
        public FormMutilMsgBox(string title, string textType, string msg)
        {
            InitializeComponent();
            if(!string.IsNullOrWhiteSpace(title)) this.Text = title;
            if (!string.IsNullOrWhiteSpace(textType)) this.lblTextType.Text = textType;
            this.textBox1.Text = msg;
        }

        public void SetMsg(string msg)
        {
            this.textBox1.Text = msg;
        }
    }
}
